// api/category.js
import request from '@/utils/request'

export function getHotCategories() {
  return request.get('/api/category/hotList');
}

export function getAllCategories() {
  return request.get('/api/category/listWithCount');
}